Skip to content

fix(Core/Combat): Update to new ThreatManager API#77

Open
blinkysc wants to merge 1 commit intoazerothcore:masterfrom
blinkysc:fix/threat-system-compat
Open

fix(Core/Combat): Update to new ThreatManager API#77
blinkysc wants to merge 1 commit intoazerothcore:masterfrom
blinkysc:fix/threat-system-compat

Conversation

@blinkysc
Copy link

Summary

  • Replaces removed GetThreatList() with GetSortedThreatList() in mythic mode distance target logic
  • Replaces getTarget() with GetVictim() on ThreatReference

Context

Required for compatibility with azerothcore/azerothcore-wotlk#24715 which ports TrinityCore's heap-based threat system.

Test plan

  • Verify mythic mode TARGET_PLAYER_DISTANCE spell casting works correctly
  • Confirm module compiles with the new threat system changes

Replace removed GetThreatList() with GetSortedThreatList() and
getTarget() with GetVictim() to match AzerothCore's ported
heap-based threat system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments